From: Chong Yidong Date: Sat, 5 Sep 2009 20:32:50 +0000 (+0000) Subject: lisp/cedet/semantic.el (semantic--set-buffer-cache): Ensure that X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~10241^2~75 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=65610fbb2aab3b0c4b34186ee8ffd0d970c4aa78;p=emacs.git lisp/cedet/semantic.el (semantic--set-buffer-cache): Ensure that semantic-bovinate-nonterminal-check-obarray is buffer-local. --- diff --git a/lisp/cedet/semantic.el b/lisp/cedet/semantic.el index 43d90df6991..ad80df38459 100644 --- a/lisp/cedet/semantic.el +++ b/lisp/cedet/semantic.el @@ -498,9 +498,10 @@ is requested." (defun semantic--set-buffer-cache (tagtable) "Set the toplevel cache cache to TAGTABLE." (setq semantic--buffer-cache tagtable - semantic-unmatched-syntax-cache-check nil - ;; This is specific to the bovine parser. - semantic-bovinate-nonterminal-check-obarray nil) + semantic-unmatched-syntax-cache-check nil) + ;; This is specific to the bovine parser. + (set (make-local-variable 'semantic-bovinate-nonterminal-check-obarray) + nil) (semantic-parse-tree-set-up-to-date) (semantic-make-local-hook 'after-change-functions) (add-hook 'after-change-functions 'semantic-change-function nil t)